<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header" />
    <script type="text/javascript" th:src="@{/js/layer/main.js}"></script>
</head>
<body class="login-layout">
<div class="container-fluid" id="main-container">
    <div id="main-content">
        <div class="row-fluid">
            <div class="span12">
                <div class="login-container">
                    <div class="row-fluid">
                        <div class="center">
                            <h1> <img th:src="@{/images/logo2.png}" src="" alt="" /> <span class="blue" th:text="${session.title}">123</span> </h1>
                            <h4 class="green" th:text="${'&copy;' + session.title}"></h4>
                        </div>
                    </div>
                    <div class="space-6"></div>
                    <div class="row-fluid">
                        <div class="position-relative">
                            <div id="forgot-box" class="visible widget-box no-border">
                                <div class="widget-body">
                                    <div class="widget-main">
                                        <h4 class="header red lighter bigger"> <em class="icon-key"></em>找回密码</h4>
                                        <div class="space-6"></div>
                                        <p style="color: #ccc; ">输入用户名及邮箱下一步</p>
                                        <form th:object="${footUser}" method="post" th:action="@{/forgetpwd}" name="form">
                                            <fieldset>
                                                <label> <span class="block input-icon input-icon-right"> <input name="name" class="span12" placeholder="用户名" /> <em class="icon-user"></em> </span> <span style="color:red" th:if="${#fields.hasErrors('name')}" th:errors="*{name}">Password Error</span> </label>
                                                <label> <span class="block input-icon input-icon-right"> <input name="email" class="span12" placeholder="邮箱" /> <em class="icon-envelope"></em> </span> <span style="color:red" th:if="${#fields.hasErrors('email')}" th:errors="*{email}">Password Error</span> </label>
                                                <div class="row-fluid">
                                                    <button type="submit" class="span5 offset7 btn btn-small btn-danger"> <em class="icon-lightbulb"></em> 下一步 </button>
                                                </div>
                                            </fieldset>
                                        </form>
                                    </div>
                                    <!--/widget-main-->
                                    <div class="toolbar center">
                                        <a th:href="@{/login}" class="back-to-login-link"> 返回登陆<em class="icon-arrow-right"></em> </a>
                                    </div>
                                </div>
                                <!--/widget-body-->
                            </div>
                            <!--/forgot-box-->
                            <!--/signup-box-->
                        </div>
                        <!--/position-relative-->
                    </div>
                </div>
            </div>
            <!--/span-->
        </div>
        <!--/row-->
    </div>
</div>
<!--/.fluid-container-->
<!--basic scripts-->
</body>
</html>